#include <iostream>

class A
{
  private:
    int num;

  public:
    A(){}
    ~A(){}
};

class B
{
  private:
    A *a;

  public:
    B();
    ~B();
};

B::B()
{
    // std::cout << a->num << std::endl; //error
}

B::~B()
{
}

class C : public A
{
  private:
  public:
    C();
    ~C();
};

C::C()
{
    // std::cout << this->num << std::endl; //error
}

C::~C()
{
}

int main(int argc, char const *argv[])
{
    /* code */
    return 0;
}
